package com.atstudy.string;

/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/20 15:29
 * @copyright: 博为峰
 */
public class StringDemo03 {
    public static void main(String[] args) {

        String s2 = new String("bwf") + new String("com.atstudy");
        System.out.println(s2);

        /*StringBuffer buffer = new StringBuffer();
        buffer.toString();*/

        String s3 = "abc";
//        System.out.println("a" + "b" + "c".intern() == "abc");
//        System.out.println(("a" + "b" + "c").intern() == "abc");
    }
}
